import Service.Impl.UserServiceImpl;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class Main {
    public static void main(String[] args) {
        System.out.println("-------------");
        ApplicationContext ctx=new ClassPathXmlApplicationContext("application.xml");
        UserServiceImpl userservice = ctx.getBean("userservice", UserServiceImpl.class);
        userservice.getbyId();
    }


}
